package com.bst.bsj.common.dal.dataobject;

import java.io.Serializable;

import org.springframework.data.annotation.Id;

public class User implements Serializable{  
  
  
  private static final long serialVersionUID = 1L;  
     
  @Id  
  String id;  
  String name;  
  int age;  
   
  
  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }
  public String getName() {  
      return name;  
  }  
  public void setName(String name) {  
      this.name = name;  
  }  
  public int getAge() {  
      return age;  
  }  
  public void setAge(int age) {  
      this.age = age;  
  }  
     
  @Override  
  public String toString() {  
      return "{USER:{uid:"+this.id+",name:"+this.name+",age:"+this.age+"}}";  
  }  
     
}